t=`date +%s`
echo $t
find ./view -type f -name '*.css' | xargs cat > movie_packed_$t.css
sed -i "s/movie_packed_.*\.css/movie_packed_$t.css/g" './conf/static.conf'
mv movie_packed_$t.css /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/css/
find ./view -type f -name '*.js' | xargs cat > movie_packed_$t.js
sed -i "s/movie_packed_.*\.js/movie_packed_$t.js/g" './conf/static.conf'
mv movie_packed_$t.js /usr/local/nginx/html/doubanxia/trunk/static/src/webroot/js/
